package com.car.domain;

import java.util.List;

public class User {
    private int id;
    private String name;
    private String password;
    private String phone;
    private String email;
    private List<Car> cars;

    public User() {
    }

    public User(int id, String name, String password, String phone,
                String email, List<Car> cars) {
        this.id = id;
        this.name = name;
        this.password = password;
        this.phone = phone;
        this.email = email;
        this.cars = cars;
    }

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", password='" + password + '\'' +
                ", phone='" + phone + '\'' +
                ", email='" + email + '\'' +
                ", cars=" + cars +
                '}';
    }

    public void setName(String name) {
    }

    public Object getName() {
        return null;
    }

    public Object getPassword() {
        return null;
    }

    public Object getPhone() {
        return null;
    }

    public Object getEmail() {
        return null;
    }

    public Object getId() {
        return null;
    }
}
